package com.ruoyi.custom.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 积分明细对象 integral_details
 * 
 * @author wjq
 * @date 2025-09-17
 */
public class IntegralDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private Integer id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 积分状态 (1:消费, 2:累积) */
    @Excel(name = "积分状态 (1:消费, 2:累积)")
    private Integer iStatus;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date iTime;

    /** 积分内容 */
    @Excel(name = "积分内容")
    private String iContent;

    /** 积分值 */
    @Excel(name = "积分值")
    private Integer iValue;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }

    public void setiStatus(Integer iStatus) 
    {
        this.iStatus = iStatus;
    }

    public Integer getiStatus() 
    {
        return iStatus;
    }

    public void setiTime(Date iTime) 
    {
        this.iTime = iTime;
    }

    public Date getiTime() 
    {
        return iTime;
    }

    public void setiContent(String iContent) 
    {
        this.iContent = iContent;
    }

    public String getiContent() 
    {
        return iContent;
    }

    public void setiValue(Integer iValue) 
    {
        this.iValue = iValue;
    }

    public Integer getiValue() 
    {
        return iValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("iStatus", getiStatus())
            .append("iTime", getiTime())
            .append("iContent", getiContent())
            .append("iValue", getiValue())
            .append("remark", getRemark())
            .toString();
    }
}
